package com.ccnu.JobHub.model.database;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("posts_tags")
public class PostTag {
    @TableId("post_tag_id")
    private Integer postTagId;

    @TableField("tag_id")
    private Integer tagId;

    @TableField("post_id")
    private Integer postId;
}
